#!/usr/bin/env sh

mkdir -p build

for i in *.md; do
	echo "Building $i..."
	bn=$(basename $i .md)
	markdown $i > build/$bn.html
	sed -i 's/\.md/\.html/g' build/$bn.html
done
